package com.sdy.healthcode.biz.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author zhouziqiang 
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "用户行为记录")
public class UserActionPost {
    
    @ApiModelProperty(value = "用户健康状态 1-正常 2-异常", required = true, allowableValues = "1,2")
    private Integer healthStatus;
    
    @ApiModelProperty(value = "用户行为 1-进 2-出", required = true, allowableValues = "1,2")
    private Integer action;
    
    @ApiModelProperty(value = "执行策略 1-允许 2-拒绝", allowableValues = "1,2")
    private Integer strategy;

    @ApiModelProperty(value = "记录地点")
    private String recordAddr;
    
    @ApiModelProperty(value = "用户ID", hidden = true)
    private Integer userId;
    
    @ApiModelProperty(value = "记录人ID", hidden = true)
    private Integer recorderId;

    @ApiModelProperty(value = "备注")
    private String remark;
}
